<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');



/**
 * class Vta
 * Will be the main controller for the vta application.
 *
 * @author      Jeroen Sen <jeroensen@22vision.nl>
 * @version     20120722
 *
 */
class Start extends CI_Controller {



    /**
     * public function index
     * Starting point for the whole application.
     *
     * @author      Jeroen Sen <jeroensen@22vision.nl>
     * @version     20120723
     * @param       void
     * @return      void
     *
     */
    public function index()
    {
//         $this->load->library('user_agent');

// if ($this->agent->is_browser())
// {
//     $agent = $this->agent->browser().' '.$this->agent->version();
// }
// elseif ($this->agent->is_robot())
// {
//     $agent = $this->agent->robot();
// }
// elseif ($this->agent->is_mobile())
// {
//     $agent = $this->agent->mobile();
// }
// else
// {
//     $agent = 'Unidentified User Agent';
// }


// if ($this->agent->is_mobile('iphone'))
// {
//     $device = 'iphone/home';
// }
// else if ($this->agent->is_mobile())
// {
//     $device = 'mobile/home';
// }
// else
// {
//     $device = 'web/home';
// }

// echo '<p>test - '. $this->agent->agent_string() .'</p>';

// echo '<p>test - '. $this->agent->agent_string() .'</p>';

// echo $this->agent->mobile() .'<br/>';

// echo $device .'<br/>';

// echo $agent .'<br/>';

// echo $this->agent->platform(); // Platform info (Windows, Linux, Mac, etc.)

        $this->load->view('zichtopbomen_index');

    } // public function index()



    /**
     * public function stem
     * Will be the startingpoint for all stem related actions.
     *
     * @author      Jeroen Sen <jeroensen@22vision.nl>
     * @version     20120722
     * @param       void
     * @return      void
     *
     */
    public function stem()
    {
        $this->load->view('test_message');

    } // public function stem()



} // class Vta extends CI_Controller